{{ if .Params.toc }}
<aside class="toc">
    <div class="toc__head">{{.Title}}</div>
    {{ .TableOfContents }}
</aside>
{{ end }}